Contribution org.nuxeo.ecm.platform.preview.actions--actions
In component org.nuxeo.ecm.platform.preview.actions
org.nuxeo.ecm.platform.preview.actions
inside nuxeo-preview-core-8.10.jar /OSGI-INF/actions-contrib.xml
This contribution is part of XML component Extension Point
Extension point actions of component ActionService.Contributed Items
XML Source
<extension point="actions" target="org.nuxeo.ecm.platform.actions.ActionService">
<!-- disable the old tab as we now use the showPreviewPopup action -->
<action enabled="false" icon="/icons/file.gif" id="TAB_PREVIEW" label="label.document.preview" link="/incl/tabs/preview_tab.xhtml" order="200" type="rest_document_link">
<category>VIEW_ACTION_LIST</category>
<filter-id>view_preview</filter-id>
</action>
<action enabled="false" icon="/icons/pdf.png" id="POPUP_PREVIEW" label="label.document.preview" link="javascript:doPreview" order="130">
<category>POPUP</category>
<filter-id>popup_view_preview</filter-id>
</action>
<action enabled="true" icon="/icons/preview.png" id="showFancyBoxPreviewPopup" label="label.document.preview" link="javascript:doPreviewPopup" order="130">
<category>POPUP</category>
<filter-id>popup_view_preview</filter-id>
</action>
<action icon="/icons/contextual_menu/preview.png" id="showFancyBoxPreview" label="label.document.preview" order="50" type="fancybox">
<category>DOCUMENT_UPPER_ACTION</category>
<filter-id>view_preview</filter-id>
<filter-id>not_folder</filter-id>
<filter-id>not_anonymous</filter-id>
<properties>
<property name="iframe">
#{previewActions.getCurrentDocumentPreviewPopupURL()}
</property>
<property name="ajaxSupport">true</property>
</properties>
</action>
<action icon="/icons/contextual_menu/preview.png" id="blobPreview" label="label.document.preview" order="150" type="fancybox">
<category>BLOB_ACTIONS</category>
<filter-id>hasBlobPreview</filter-id>
<properties>
<property name="iframe">#{previewActions.getPreviewURL(document, blobXPath)}</property>
<property name="ajaxSupport">true</property>
</properties>
</action>
</extension>